package org.px.domain;

import java.sql.Timestamp;

public class LeaveRecord {
    private int leave_id;
    private String emp_id;
    private String leave_type;
    private Timestamp start_time;
    private Timestamp end_time;
    private float duration;
    private String reason;
    private String approver_id;
    private String status;
    private Timestamp apply_time;
    private Timestamp approve_time;

    public LeaveRecord() {}

    // Getters and Setters
    public int getLeave_id() { return leave_id; }
    public void setLeave_id(int leaveId) { this.leave_id = leaveId; }
    public String getEmp_id() { return emp_id; }
    public void setEmp_id(String empId) { this.emp_id = empId; }
    public String getLeave_type() { return leave_type; }
    public void setLeave_type(String leaveType) { this.leave_type = leaveType; }
    public Timestamp getStart_time() { return start_time; }
    public void setStart_time(Timestamp startTime) { this.start_time = startTime; }
    public Timestamp getEnd_time() { return end_time; }
    public void setEnd_time(Timestamp endTime) { this.end_time = endTime; }
    public float getDuration() { return duration; }
    public void setDuration(float days2) { this.duration = days2; }
    public String getReason() { return reason; }
    public void setReason(String reason) { this.reason = reason; }
    public String getApprover_id() { return approver_id; }
    public void setApprover_id(String approverId) { this.approver_id = approverId; }
    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }
    public Timestamp getApply_time() { return apply_time; }
    public void setApply_time(Timestamp applyTime) { this.apply_time = applyTime; }
    public Timestamp getApprove_time() { return approve_time; }
    public void setApprove_time(Timestamp approveTime) { this.approve_time = approveTime; }
}
